import { request } from '@umijs/max';
export async function paginationQuery(params) {
    return request('/competition/team/page-query/list',{
        method: 'POST',
        data: params,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function queryDetailInfo(param) {
    return request(`/competition/team/query/detail-info?unCode=${param.unCode}`,{
        method: 'GET'
    })
}

export async function queryOwnTeamHostDetailInfo(param) {
    return request('/competition/team/query/own-team-host/detail/info',{
        method: 'GET'
    })
}
export async function queryTeamHostNetInfoList(param) {
    return request(`/competition/team/query/list/host-net-info?competitionUnCode=${param.unCode}`,{
        method: 'GET'
    })
}